﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrNews_Homepage.ascx.cs" Inherits="Controls_HomePage_ctrNews_Homepage" %>
 <a class="heading " href ="NewsCategory.aspx"><asp:Label ID="lblNews" runat ="server"  ></asp:Label></a>
           <br/>
            <asp:DataList ID="rptNews" runat="server" RepeatColumns="2" HorizontalAlign="Left"
    onitemcommand="rptNews_ItemCommand" onitemdatabound="rptNews_ItemDataBound"  >
                        <ItemTemplate   >
                        <table>
                            <tr>
                                <td><asp:ImageButton  runat ="server" ID="btnImage" Width="80px" Height ="80px" BorderWidth="1px" BorderColor="Gray"   CommandName="image"  /></td>
                                <td style="padding-left:5px; padding-bottom:5px">
                                <asp:HyperLink ID="lnkTitle" runat ="server" ForeColor ="#DE3E11" Font-Bold=true  ></asp:HyperLink><br/>
                                <asp:Label ID="lblInitContent" runat ="server"  ></asp:Label>                       
                                </td>
                            </tr>
                        </table>
                        </ItemTemplate>
                    </asp:DataList><br /><br />
                  